import request from '@/utils/request'
export default class index {
  // 荒漠捕牛配置获取
  static getConfig(params: any = {}) {
    return request({
      url: 'api/lassoCattle/getConfig',
      method: 'get',
      params
    })
  }
  // 荒漠捕牛配置获取
  static updateConfig(data: any = {}) {
    return request({
      url: 'api/lassoCattle/updateConfig',
      method: 'post',
      data
    })
  }
  // 荒漠捕牛整体数据
  static statSearchAll(params: any = {}) {
    return request({
      url: 'api/lassoCattle/statSearchAll',
      method: 'get',
      params
    })
  }
  // 荒漠捕牛单期数据
  static statGameEvery(params: any = {}) {
    return request({
      url: 'api/lassoCattle/statGameEvery',
      method: 'get',
      params
    })
  }
  // 荒漠捕牛用户参与明细
  static statUserInfo(params: any = {}) {
    return request({
      url: 'api/lassoCattle/statUserInfo',
      method: 'get',
      params
    })
  }
  // 荒漠捕牛幸运券兑换数据
  static statDayList(params: any = {}) {
    return request({
      url: 'api/lassoCattle/statDayList',
      method: 'get',
      params
    })
  }
}